package com.hzbat.service.impl;  																		  

import java.util.List;																					
import org.slf4j.Logger;																				
import org.slf4j.LoggerFactory;																			
import org.springframework.beans.factory.annotation.Autowired;											
import org.springframework.stereotype.Service;															

import com.hzbat.dao.PmHzbatBatchesDirectionMapper;																		
import com.hzbat.entity.PmHzbatBatchesDirection;																	
import com.hzbat.service.PmHzbatBatchesDirectionService;																	
import com.github.pagehelper.PageInfo;																	
		
@Service("pmHzbatBatchesDirectionServiceImpl")																	
public class PmHzbatBatchesDirectionServiceImpl extends BasicServiceImpl<PmHzbatBatchesDirection> implements PmHzbatBatchesDirectionService{	
		private static Logger logger = LoggerFactory.getLogger(PmHzbatBatchesDirectionServiceImpl.class);				  

		@Autowired																							
		PmHzbatBatchesDirectionMapper pmHzbatBatchesDirectionMapper ;																  

		@Override																							
		public List<PmHzbatBatchesDirection> getList(PmHzbatBatchesDirection pmHzbatBatchesDirection) {									
			logger.info("查询用户列表");																		
			List<PmHzbatBatchesDirection> u = pmHzbatBatchesDirectionMapper.getList(pmHzbatBatchesDirection);								
			return u;																						
		}																								  

		@Override																							
		public PmHzbatBatchesDirection get(PmHzbatBatchesDirection pmHzbatBatchesDirection) {											
			PmHzbatBatchesDirection u = pmHzbatBatchesDirectionMapper.get(pmHzbatBatchesDirection);											
			return u;																						
		}																								  

		@Override																							
		public void add(PmHzbatBatchesDirection pmHzbatBatchesDirection) {														
			pmHzbatBatchesDirectionMapper.add(pmHzbatBatchesDirection);															
		}																								  

		@Override																							
		public void update(PmHzbatBatchesDirection pmHzbatBatchesDirection) {													
			pmHzbatBatchesDirectionMapper.update(pmHzbatBatchesDirection);															
		}																								  

		@Override																							
		public void delete(PmHzbatBatchesDirection pmHzbatBatchesDirection) {													
			pmHzbatBatchesDirectionMapper.delete(pmHzbatBatchesDirection);															
		}																								  

		@Override																							
		public PageInfo<PmHzbatBatchesDirection> getPage(PmHzbatBatchesDirection pmHzbatBatchesDirection) {								
			return getPage(pmHzbatBatchesDirection.getPageNum(),pmHzbatBatchesDirection.getPageSize(),pmHzbatBatchesDirection);		
		}																									
}																									  


